var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }
    status++;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.dynamicObjMoveSchedule(-83, -892, -83, 7, -83, -892, 1, 0, 30, "elev_e_b2_00", 28000 * 2, 0);
            cm.dynamicObjMoveSchedule(-44, -1023, -44, -120, -44, -1023, 1, 0, 30, "elevu_e_b2_00", 28000 * 2, 0);
            cm.dynamicObjMoveSchedule(-83, 7, -83, -892, -83, 7, 1, 0, -30, "elev_e_b2_00", 28000 * 2, 28000);
            cm.dynamicObjMoveSchedule(-44, -120, -44, -1023, -44, -120, 1, 0, -30, "elevu_e_b2_00", 28000 * 2, 28000);
            cm.dispose()
        }
    }
};